package javax.microedition.media;

public interface Player extends Controllable {
  public static final long TIME_UNKNOWN = -1L;
  
  public static final int CLOSED = 0;
  
  public static final int UNREALIZED = 100;
  
  public static final int REALIZED = 200;
  
  public static final int PREFETCHED = 300;
  
  public static final int STARTED = 400;
  
  int getState();
  
  String getContentType();
  
  long getDuration();
  
  long getMediaTime();
  
  long setMediaTime(long paramLong) throws MediaException;
  
  void addPlayerListener(PlayerListener paramPlayerListener);
  
  void close();
  
  void deallocate();
  
  void prefetch() throws MediaException;
  
  void realize() throws MediaException;
  
  void removePlayerListener(PlayerListener paramPlayerListener);
  
  void setLoopCount(int paramInt);
  
  void start() throws MediaException;
  
  void stop() throws MediaException;
}


/* Location:              C:\Java\rt\javax\microedition\midp_2.1.jar!\javax\microedition\media\Player.class
 * Java compiler version: 3 (47.0)
 * JD-Core Version:       1.1.3
 */